<!--{template header}-->
<script type="text/javascript" src="{SITE_URL}js/jquery.js"></script>
<script type="text/javascript" src="{SITE_URL}js/calendar.js"></script>
<div class="content">
    <h1>个人资料修改</h1>
    <form name="customerform" action="index.php?c=user&a=profile" method="POST" enctype="multipart/form-data">
        <div class="hr_system_zhuo zhuo">
            <div class="biaodan">
                <ul>
                    <p>工号：</p>
                    <li>{$user['uid']}</li>
                </ul>
                <ul>
                    <p>用户名：</p>
                    <li>{$user['username']}</li>
                </ul>
                <ul>
                    <p>修改密码：</p>
                    <li><input type="text" name="password" id="password"/></li>
                </ul>
                <ul>
                    <p>修改头像：</p>
                    <li><input type="file" name="avatar" /></li>
                </ul>
                <ul>
                    <p>职位：</p>
                    <li>
                        <select name="positionid" id="positionid">
                            <!--{loop $position $p}-->
                            <option value="{$p['id']}" <!--{if $user['positionid']==$p['id']}-->selected<!--{/if}-->>{$p['name']}</option>
                            <!--{/loop}-->
                        </select>
                    </li>
                </ul>
                <ul>
                    <p>负责区域：</p>
                    <li>
                        <select name="areaid" id="areaid">
                            <!--{loop $citylist $city}-->
                            <option value="{$city['id']}" <!--{if $user['areaid']==$city['id']}-->selected<!--{/if}-->>{$city['name']}</option>
                            <!--{/loop}-->
                        </select>
                    </li>
                </ul>
            </div>
            <div class="biaodan tijiao">
                <ul>
                    <input type="submit" name="submit" id="button" value="提交" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="submit" name="button2" id="button2" value="取消" /></ul>
            </div>

        </div>
    </form>
    <!-- end .content --></div>
<!-- end .container --></div>
<script type="text/javascript">
</script>
</body>
</html>
